package com.zjxd.business.web.model.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TBOrder implements Serializable {
    private Long orderid;

    private Long orderstate;

    private Long userid;
    
    private String username;	//用户账户

	private BigDecimal chargmoney;

    private String pilenum;

    private BigDecimal servermoney;

    private BigDecimal chargeamount;

    private Long chargtype;

    private Long muzzlenum;

    private BigDecimal price;

    private BigDecimal discount;

    private Long paymothod;

    private String ordernum;

    private Date createtime;

    private String backordernum;

    private String powersupply;

    private Date starttime;

    private Date endtime;

	private Integer chargeTime;   //充电时长，单位分钟，四舍五入

    private Long endReason;

    private static final long serialVersionUID = 1L;

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Long getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(Long orderstate) {
        this.orderstate = orderstate;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public BigDecimal getChargmoney() {
        return chargmoney;
    }

    public void setChargmoney(BigDecimal chargmoney) {
        this.chargmoney = chargmoney;
    }

    public String getPilenum() {
        return pilenum;
    }

    public void setPilenum(String pilenum) {
        this.pilenum = pilenum == null ? null : pilenum.trim();
    }

    public BigDecimal getServermoney() {
        return servermoney;
    }

    public void setServermoney(BigDecimal servermoney) {
        this.servermoney = servermoney;
    }

    public BigDecimal getChargeamount() {
        return chargeamount;
    }

    public void setChargeamount(BigDecimal chargeamount) {
        this.chargeamount = chargeamount;
    }

    public Long getChargtype() {
        return chargtype;
    }

    public void setChargtype(Long chargtype) {
        this.chargtype = chargtype;
    }

    public Long getMuzzlenum() {
        return muzzlenum;
    }

    public void setMuzzlenum(Long muzzlenum) {
        this.muzzlenum = muzzlenum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Long getPaymothod() {
        return paymothod;
    }

    public void setPaymothod(Long paymothod) {
        this.paymothod = paymothod;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getBackordernum() {
        return backordernum;
    }

    public void setBackordernum(String backordernum) {
        this.backordernum = backordernum == null ? null : backordernum.trim();
    }

    public String getPowersupply() {
        return powersupply;
    }

    public void setPowersupply(String powersupply) {
        this.powersupply = powersupply == null ? null : powersupply.trim();
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Long getEndReason() {
        return endReason;
    }

    public void setEndReason(Long endReason) {
        this.endReason = endReason;
    }
    

    public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	   
    public Integer getChargeTime() {
		return chargeTime;
	}

	public void setChargeTime(Integer chargeTime) {
		this.chargeTime = chargeTime;
	}
}